home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Hyper
/
Rinaldi
/
HC 2.0 Only
/
Mousoid 1.1.cpt
/
US Mousoid 1.1
/
card_3055.txt
< prev
next >
Wrap
Text File
|
1990-10-30
|
2KB
|
86 lines
-- card: 3055 from stack: in.1
-- bmap block id: 3273
-- flags: 0000
-- background id: 2661
-- name:
-- part 1 (field)
-- low flags: 01
-- high flags: 0007
-- rect: left=69 top=68 right=252 bottom=434
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name:
-- part 5 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=174 top=281 right=311 bottom=343
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Mousoid
----- HyperTalk script -----
on mouseUp
Mousoid
if the Result ≠ empty
then answer the Result
end mouseUp
-- part contents for card part 1
----- text -----
Mousoid 1.1
by Frédéric RINALDI
DESCRIPTION
------------
Mousoid XCMD displays a windoid showing current mouse position.
SYNTAX
--------
Mousoid [<X>,<Y>]
PARAMETERS
------------
X and Y are optional integer, allowing to give coordinates where the window will appear on screen.
Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
USING
-----
Mousoid is stand alone, no linked resource is needed.
Clicking on the zoom box displays more informations.
Like any XWindow, Mousoid has properties that can be get and set thru HyperTalk.
“properties of window "Mousoid"” will return an item list of all allowed properties. Properties cannot be set.
Most usual are Loc and visible. So you can move the windoid on the screen, and make it invisible.
If an error occurs, Mousoid can return :
"Error : Unable to create XWindow"
"Error : XWindows not implemented"
--------------------------------------------------------------------
This (these) external(s) is (are) FreeWare,allowing unlimited use in any non-commercial stack. You just need in this case to mention the author's name and copyright in your stack.
Any commercial use must be licensed and aknowledged by the author.
© F. Rinaldi - 1989,1990
AppleLink: RINALDI1 CalvaCom : FR10 Compuserve : 71170,2111